﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPlus.Master" AutoEventWireup="true" CodeBehind="wbfrm_Cambio_Citas.aspx.cs" Inherits="FrontEndPlus.Módulos.Catálogos_y_Mantenimientos.wbfrm_Cambio_Citas" %>
<%@ Register Src="~/Módulos/Catálogos y Mantenimientos/MenuVertical.ascx" TagName="MenuVertical" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <style type="text/css">
        .auto-style2 {
            width: 307px;
        }       
        .auto-style4 {
            height: 33px;
        }        
    </style>
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">   
    <div>
        <uc1:MenuVertical ID="MenuVertical1" runat="server"/>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
     <asp:Panel ID="Panel3" runat="server">
         <table align="center" style="background-color: #E8EBF7; border-radius:10px; filter:alpha(opacity=50);">
            <tr>
                <td></td>
                <td align="center"></td>
                <td align="center" class="auto-style2" colspan="8">
                    <h1><strong>Cambio de Citas</strong></h1>
                </td>
            </tr>
            </table>
        <table align="center" style="background-color: #E8EBF7; border-radius:10px; filter:alpha(opacity=50);">
             <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4"></td>
                <td align="center" class="auto-style2">
                    <asp:ToolkitScriptManager ID="tsm_ScriptManager" runat="server"></asp:ToolkitScriptManager>
                </td>
            </tr>             
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>           
                <td align="left" class="auto-style2"><h2 style="color: darkblue">Agregar/Modificar</h2></td>
            </tr>
             <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>           
                <td align="left" class="auto-style2"></td>
            </tr>           
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Id: </td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Id" runat="server" TabIndex="4" MaxLength="10" ReadOnly="True" Width="59px"></asp:TextBox>
                </td>
            </tr>
             <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Cliente:</td>
                <td class="auto-style2">
                     <asp:DropDownList ID="ddl_Cliente" runat="server" AppendDataBoundItems="false" CausesValidation="True" CssClass="DropDownListcompleto" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Size="Medium" Width="169px">
                     </asp:DropDownList><br />
                     <asp:RangeValidator ID="RangeValidator5" runat="server" ErrorMessage="Seleccionar" MaximumValue="2" MinimumValue="1" ControlToValidate="ddl_Cliente" EnableClientScript="False" ForeColor="Maroon" CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
             <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Expediente:</td>
                <td class="auto-style2">
                     <asp:DropDownList ID="ddl_Expediente" runat="server" AppendDataBoundItems="false" CausesValidation="True" CssClass="DropDownListcompleto" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Size="Medium" Width="169px">
                     </asp:DropDownList><br />
                     <asp:RangeValidator ID="RangeValidator6" runat="server" ErrorMessage="Seleccionar" MaximumValue="2" MinimumValue="1" ControlToValidate="ddl_Expediente" EnableClientScript="False" ForeColor="Maroon" CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4">Hora de Cita: </td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Hora" runat="server" ValidationGroup="MKE" TabIndex="3" MaxLength="10" Width="98px"></asp:TextBox><br />
                    <asp:MaskedEditExtender
                        ID="txt_Hora_MaskedEditExtender"
                        runat="server"
                        Century="2000"
                        Enabled="True"
                        TargetControlID="txt_Hora"
                        Mask="99:99:99"
                        MessageValidatorTip="true"
                        OnFocusCssClass="MaskedEditFocus"
                        OnInvalidCssClass="MaskedEditError"
                        MaskType="Time"
                        AcceptAMPM="True"
                        ErrorTooltipEnabled="True">
                    </asp:MaskedEditExtender>
                    <asp:MaskedEditValidator ID="MaskedEditValidator3" runat="server"
                        ControlExtender="txt_Hora_MaskedEditExtender"
                        ControlToValidate="txt_Hora"
                        IsValidEmpty="False"
                        EmptyValueMessage="La hora es requerida"
                        InvalidValueMessage="El formato de hora es invalido"
                        Display="Dynamic"
                        TooltipMessage="Ingresar Hora de Cita"
                        EmptyValueBlurredText="*"
                        InvalidValueBlurredMessage="*"
                        ValidationGroup="MKE" >
                        </asp:MaskedEditValidator><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txt_Hora" CssClass="msjerror" EnableClientScript="False" ErrorMessage="Digitar Hora de Cita" ForeColor="Maroon"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Fecha de Cita:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Fecha" runat="server" Width="89px" ReadOnly="True"></asp:TextBox><br />
                    <asp:MaskedEditExtender ID="MaskedEditExtender2" runat="server"
                        Enabled="False"
                        Mask="99/99/9999"
                        MaskType="Date"
                        TargetControlID="txt_Fecha"
                        Century="2000" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" CultureThousandsPlaceholder="" CultureTimePlaceholder="">
                    </asp:MaskedEditExtender>
                    <asp:CalendarExtender ID="CalendarExtender1"
                        runat="server"
                        Enabled="True"
                        Format="MM/dd/yyyy"
                        TargetControlID="txt_Fecha">
                    </asp:CalendarExtender>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
                        SetFocusOnError="True"
                        Display="None"
                        ControlToValidate="txt_Fecha"
                        meta:resourcekey="rfvTxtFecha" CssClass="msjerror" ForeColor="Maroon"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" meta:resourcekey="cvBirthday"
                        Type="Date"
                        Operator="DataTypeCheck"
                        Display="None"
                        ControlToValidate="txt_Fecha" CssClass="msjerror" ForeColor="Maroon"></asp:CompareValidator>
                </td>
            </tr>
             <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Servicio:</td>
                <td class="auto-style2">
                     <asp:DropDownList ID="ddl_Servicio" runat="server" AppendDataBoundItems="false" CausesValidation="True" CssClass="DropDownListcompleto" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Size="Medium" Width="169px">
                     </asp:DropDownList><br />
                     <asp:RangeValidator ID="RangeValidator7" runat="server" ErrorMessage="Seleccionar" MaximumValue="2" MinimumValue="1" ControlToValidate="ddl_Servicio" EnableClientScript="False" ForeColor="Maroon" CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
             <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Carrera Profesional:</td>
                <td class="auto-style2">
                     <asp:DropDownList ID="ddl_Profesional" runat="server" AppendDataBoundItems="false" CausesValidation="True" CssClass="DropDownListcompleto" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Size="Medium" Width="169px">
                     </asp:DropDownList><br />
                     <asp:RangeValidator ID="RangeValidator8" runat="server" ErrorMessage="Seleccionar" MaximumValue="2" MinimumValue="1" ControlToValidate="ddl_Profesional" EnableClientScript="False" ForeColor="Maroon" CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
             <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Descripción:</td>
                <td class="auto-style2">
                       <asp:TextBox ID="txt_Descripcion" runat="server" Width="240px" MaxLength="50"></asp:TextBox><br />
                       <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Digitar Descripción" ForeColor="Maroon" ControlToValidate="txt_Descripcion" EnableClientScript="False" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>           
            <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4"></td>
                <td class="auto-style2">
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Módulos/Catálogos y Mantenimientos/Imagen/accept.png" OnClick="ImageButton1_Click"/>
                </td>
            </tr>
        </table>
    </asp:Panel>       
</asp:Content>
